/**
 * Company : SIANGKLOM.
 * Created By : Chatree Siangklom
 * Created On : Oct 4, 2013  3:23:51 PM 
 * e-Mail : dr_chatree@hotmail.com
 * Mobile Phone : (+66) 087-921-5115
 * Package Name : sap.business.inter.exception
 * File Name : JCOException.java
 * TODO
 */
package sap.business.inter.exception;

import com.sap.conn.jco.JCoException;

/**
 * @author Chatree Siangklom of Administrator
 * Date =Oct 4, 2013 : 3:23:51 PM 
 * CreateBy=Chatree Siangklom
 * 
 * JCOException
 * TODO
 */
public class JCOException extends InterException {

	/**
	 * Date =Oct 4, 2013 : 3:42:15 PM 
	 * CreateBy=Chatree Siangklom
	 * JCOException.java long 
	 * serialVersionUID
	 * TODO
	 */
	private static final long serialVersionUID = 1L;
	
	private String exceptionMessage;
	private JCoException jCoException;
	private Exception exception;

	/**
	 * Date =Oct 4, 2013 : 3:23:51 PM 
	 * CreateBy=Chatree Siangklom
	 * JCOException
	 * TODO
	 */
	public JCOException() {	}
	
	public JCOException(String exceptionMessage) {
		this.exceptionMessage = exceptionMessage;
		exception = new Exception(exceptionMessage);
	}

	/**
	 * @return the exceptionMessage
	 * Date =Oct 4, 2013 : 3:48:14 PM 
	 * CreateBy=Chatree Siangklom
	 * JCOException.java String
	 * TODO
	 */
	public String getExceptionMessage() {
		return exceptionMessage;
	}

	/**
	 * @param exceptionMessage the exceptionMessage to set
	 * Date =Oct 4, 2013 : 3:48:14 PM 
	 * CreateBy=Chatree Siangklom
	 *  JCOException.java String
	 * TODO
	 */
	public void setExceptionMessage(String exceptionMessage) {
		this.exceptionMessage = exceptionMessage;
	}

	/**
	 * @return the jCoException
	 * Date =Oct 4, 2013 : 3:45:46 PM 
	 * CreateBy=Chatree Siangklom
	 * JCOException.java JCoException
	 * TODO
	 */
	public JCoException getjCoException() {
		return jCoException;
	}

	/**
	 * @param jCoException the jCoException to set
	 * Date =Oct 4, 2013 : 3:45:46 PM 
	 * CreateBy=Chatree Siangklom
	 *  JCOException.java JCoException
	 * TODO
	 */
	public void setjCoException(JCoException jCoException) {
		this.jCoException = jCoException;
	}

	/**
	 * @return the exception
	 * Date =Oct 4, 2013 : 3:45:46 PM 
	 * CreateBy=Chatree Siangklom
	 * JCOException.java Exception
	 * TODO
	 */
	public Exception getException() {
		return exception;
	}

	/**
	 * @param exception the exception to set
	 * Date =Oct 4, 2013 : 3:45:46 PM 
	 * CreateBy=Chatree Siangklom
	 *  JCOException.java Exception
	 * TODO
	 */
	public void setException(Exception exception) {
		this.exception = exception;
	}
}
